package com.zhao.test;

import com.common.util.SortUtil;

public class Ranking {

    public static void main(String[] args) {
//        int[] toRankArray = {22, 11, 444, 21, 23, 1, 5, 441};
        /*System.out.println("test");
        bubbleSort(toRankArray);
        quick(toRankArray);
        for (int str : toRankArray
        ) {
            System.out.println(str);
        }*/
/*
        int [] a = new int[]{
                (int)(Math.random() *1000),
                (int)(Math.random() * 1000),
                (int)(Math.random() *1000),
                (int)(Math.random() *1000),
                (int)(Math.random() * 1000)
        };
        System.out.println(Arrays.toString(a));
        swap(a);
        System.out.println(Arrays.toString(a));*/
        System.out.println(SortUtil.unitConversion(9878123));
    }


}